import java.util.Scanner;

public class Test3 {
    public static void main(String[] args){
        System.out.println("请输入两个数字，空格隔开");
        Scanner read = new Scanner(System.in);
        double num1=read.nextDouble();
        double num2=read.nextDouble();
        System.out.println(num1+" + "+num2+" = "+(num1+num2));
        System.out.println(num1+" - "+num2+" = "+(num1-num2));
        System.out.println(num1+" * "+num2+" = "+(num1*num2));
        System.out.println(num1+" / "+num2+" = "+(num1/num2));

    }
}
